package com.hongshan.wallet.core.home

import android.databinding.ViewDataBinding
import android.os.Bundle
import com.alibaba.android.arouter.facade.annotation.Route
import com.hongshan.wallet.R
import com.hongshan.wallet.base.MyActivity
import com.hongshan.wallet.base.MyViewModel
import com.hongshan.wallet.router.RouterIndex
import com.hongshan.wallet.router.go
import kotlinx.android.synthetic.main.activity_top_up_result.*
import kotlinx.android.synthetic.main.appbar.*

/**
 * Copyright Zhangxx.
 * Copyright (c) 2019
 * All rights reserved
 *
 * @project  : Wallet
 * @package  : com.example.wallet.core.home
 * @author   : zhangxx
 * @date     : 2019/4/11
 * @email    : qq957413212@hotmail.com
 * @desc     : //TODO
 */
@Route(path = RouterIndex.TOP_UP_RESULT)
class TopUpResultActivity: MyActivity<ViewDataBinding, MyViewModel>() {

    override fun initVariableId() = 0

    override fun initContentView(savedInstanceState: Bundle?) = R.layout.activity_top_up_result

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        tvTitle.text = "充值"
        tvBackHome.setOnClickListener {
            go(RouterIndex.MAIN)
        }
    }
}